package com.afs.electronicforensics.entity;


import android.util.Log;

import java.util.Date;

/**
 * @author gy
 * @description
 * @date 2021/5/13
 */
public class Message {

    String id;

    String name;//名称

    String content;//url

    String url;

    int type;//资源类型 0-未知 1-视频 2-图片 3-音频

    String upUser;//上传人

    Date uploadTime;//上传时间

    long userId;//用户id
    public String MessageShow(){

        Log.e("Message", "文件名:" + name + " url:" + content + " 资源类型:" + type + " 上传人:" + upUser + " 上传时间:" + uploadTime);
        return "文件名:" + name + " url:" + content + " 资源类型:" + type + " 上传人:" + upUser + " 上传时间:" + uploadTime;

    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getUpUser() {
        return upUser;
    }

    public void setUpUser(String upUser) {
        this.upUser = upUser;
    }

    public Date getUploadTime() {
        return uploadTime;
    }

    public void setUploadTime(Date uploadTime) {
        this.uploadTime = uploadTime;
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }
}
